package com.cy.uv.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@TableName("order_new")
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    @TableId(value = "order_id",type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    private Integer orderId;
    @TableField(value = "username")
    private String userName;
    @TableField(value = "productname")
    private String product_name;
    @TableField(value = "orderdate")
    private String orderDate;
    @TableField(value = "status")
    private int status;
    @TableField(value = "bill")
    private double bill;
    @TableField(value = "quantity")
    private int quantity;

}
